package com.example.demo.day.config.learn.designBook.firstDay.fixedLoD;

import java.util.List;

public class GroupLeader {

    private List<Girl> girlList;

    public void setGirlList(List<Girl> girlList) {
        this.girlList = girlList;
    }

    public void countGirls() {
        System.out.println("女生数量是： " + girlList.size());
    }
}
